package com.ruoyi.classai.domain.dto.px;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 课程视频记录对象DTO
 *
 * @author lcj
 * @date 2025-06-20
 */
@Data
@Schema(description="课程视频记录对象DTO")
public class PxTrainingCourseVideoDto implements Serializable{

    private static final long serialVersionUID = 1L;

    /** 培训课程ID */
    @NotBlank(message = "培训课程ID不能为空")
    @Schema(description  = "培训课程ID")
    private String trainingCourseId;

    /** 老师ID */
    @NotBlank(message = "老师ID不能为空")
    @Schema(description  = "老师ID")
    private String teacherId;

    /** 视频ID */
    @NotBlank(message = "视频ID不能为空")
    @Schema(description  = "视频ID")
    private String videoId;

    /** 视频进度 */
    @NotNull(message = "视频进度不能为空")
    @Schema(description  = "视频进度")
    private Integer videoProgress;

    /** 视频时长 */
    @NotNull(message = "视频时长不能为空")
    @Schema(description  = "视频时长")
    private Integer videoDuration;

    /** 状态0未完成1已完成 */
    @Schema(description  = "状态0未完成1已完成")
    private Integer status;





}
